Version

TrySumProduct(Double,Exception,Vector[]) Method

Returns the sum of the products of the corresponding elements of each Vector in x as the result.
Syntax
'Declaration
 
Public Overloads Shared Function TrySumProduct( _
   ByRef result As Double, _
   ByRef exception As Exception, _
   ByVal ParamArray x() As Vector _
) As Boolean
public static bool TrySumProduct( 
   out double result,
   out Exception exception,
   params Vector[] x
)

Parameters

result
A double y, where y = (x[0][0]*...*x[M][0]) + ... + (x[0][N]*...*x[M][N]).
exception
The exception, if one is thrown; Null otherwise.
x
An array of Vectors with the same dimensions.

Return Value

True if the result is computed; false otherwise.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also